package com.meet.vo;

import java.sql.Timestamp;

/**
 * @author King_of_hehe
 */
public class ConnectionVo {

    private Integer id;//主键id
    private String userName;//员工姓名

    private String meetingRoomName;//会议室名称
    private String meetingName;//会议名称

    private Timestamp startTime; //会议开始时间

    private Timestamp endTime; //会议结束时间
    private boolean confirm;//是否确认

    public ConnectionVo() {
    }

    public ConnectionVo(String userName, String meetingName, boolean confirm) {
        this.userName = userName;
        this.meetingName = meetingName;
        this.confirm = confirm;
    }

    public ConnectionVo(Integer id, String userName, String meetingRoomName, String meetingName, Timestamp startTime, Timestamp endTime, boolean confirm) {
        this.id = id;
        this.userName = userName;
        this.meetingRoomName = meetingRoomName;
        this.meetingName = meetingName;
        this.startTime = startTime;
        this.endTime = endTime;
        this.confirm = confirm;
    }

    public ConnectionVo(Integer id, String userName, String meetingName, boolean confirm) {
        this.id = id;
        this.userName = userName;
        this.meetingName = meetingName;
        this.confirm = confirm;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMeetingName() {
        return meetingName;
    }

    public void setMeetingName(String meetingName) {
        this.meetingName = meetingName;
    }

    public boolean isConfirm() {
        return confirm;
    }

    public void setConfirm(boolean confirm) {
        this.confirm = confirm;
    }

    public String getMeetingRoomName() {
        return meetingRoomName;
    }

    public void setMeetingRoomName(String meetingRoomName) {
        this.meetingRoomName = meetingRoomName;
    }

    public Timestamp getStartTime() {
        return startTime;
    }

    public void setStartTime(Timestamp startTime) {
        this.startTime = startTime;
    }

    public Timestamp getEndTime() {
        return endTime;
    }

    public void setEndTime(Timestamp endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "ConnectionVo{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", meetingRoomName='" + meetingRoomName + '\'' +
                ", meetingName='" + meetingName + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", confirm=" + confirm +
                '}';
    }
}